<template>
  <div class="line" :style="cssObject">
      
  </div>
</template>
<script>
export default {
  props:["len"],
  data(){
    return {
      cssObject:{
        display: 'inline-block',
        width: '1px',
        height: this.len || '1rem',
        backgroundColor: '#ededed'
      }
    }
  }
}
</script>
<style lang="less" scoped>
</style>
